<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex flex-wrap align-center benben-position-layout flex huiyuanshenghuo_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center justify-between huiyuanshenghuo_fd0_0'      >
            <view   class='flex flex-wrap align-center huiyuanshenghuo_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  huiyuanshenghuo_fd0_0_c0_c0'    >&#xE794;</text>
</view>
</view>
<view>
        <benben-flex-tabs class-name='huiyuanshenghuo_benbenTabsfd0_1'  v-model="tabsTypefd0_1" ref="benben_tabsfd0_1" select-mark="benben_tabsfd0_1" key="benben_tabsfd0_1" :open-title-type='false' :open-sticky='true' :top='0' :is-show-content='false' :scrollspy='false'  :tabs-info.sync="tabsInfofd0_1"  >
            
                    <scroll-view
          @scroll="tabsInfofd0_1.scrollX = $event.detail.scrollLeft"
          id="benben_tabsfd0_1"
          class="benben-tabs"
          style="width:750rpx"
          :scroll-x="true"
          :scroll-left.sync="tabsInfofd0_1.moveX"
          scroll-with-animation="all .3s ease"
        >
          <view class="benben-tabs-content" id="benben_tabsfd0_1-content">
            <view id="benben_tabsfd0_1-title" class="benben-tabs-title flex align-center justify-around flex ">
                        <view 
                :class="{ 'checkTitlefd0_1': tabsTypefd0_1 == '1', 'flex flex-wrap align-center': true }"
                @tap="tabsTypefd0_1 = '1'"
                :id="`benben_tabsfd0_1-title-item-${'1'}`"
                
                
              >
                
<text   >推荐</text>

              </view>            <view 
                :class="{ 'checkTitlefd0_1': tabsTypefd0_1 == '2', 'flex flex-wrap align-center': true }"
                @tap="tabsTypefd0_1 = '2'"
                :id="`benben_tabsfd0_1-title-item-${'2'}`"
                
                
              >
                
<text   >会员风采</text>

              </view>            <view 
                :class="{ 'checkTitlefd0_1': tabsTypefd0_1 == '3', 'flex flex-wrap align-center': true }"
                @tap="tabsTypefd0_1 = '3'"
                :id="`benben_tabsfd0_1-title-item-${'3'}`"
                
                
              >
                
<text   >互动游戏</text>

              </view>
            </view>
            <view :style="{ left: tabsInfofd0_1.lineleft, maxWidth: tabsInfofd0_1.lineWidth ,}" id="benben_tabsfd0_1-line" class="benben-tabs-line flex benben-flex-tabs-line huiyuanshenghuo_linefd0_1"></view>
          </view>
        </scroll-view>
            
        </benben-flex-tabs>
        
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex benben-flex-layout flex-wrap align-center"    >
        <view style="position: relative" >
    <swiper ref="benbenSwiperfd1_0"  @change="bannerIndexfd1_0 = $event.detail.current" class='flex position-relative huiyuanshenghuo_fd1_0'  previous-margin="0rpx" next-margin="0rpx" :display-multiple-items="1" :interval="5000" :duration="500" :autoplay='true' :circular='true' >
        
    <template v-for = '(item,key0) in bannerList'>
        <swiper-item class='flex  huiyuanshenghuo_fd1_0_c1_c0'        :key='key0'>
            <view   class='flex flex-wrap align-center huiyuanshenghuo_fd1_0_c1_c0'      >
        <image class='huiyuanshenghuo_fd1_0_c1_c0_c0'  mode="aspectFill"  :src='STATIC_URL+"25.png"'></image>
</view>
</swiper-item>
    </template>

    </swiper>
    <view style="position: absolute" class="flex dot flex align-center justify-center huiyuanshenghuo_swiperDotfd1_0" >
        <template v-for="(item, index) in (bannerList.length)">
            <view :key="index" v-if="bannerIndexfd1_0 == index"
                class="flex dot selected flex align-center justify-center huiyuanshenghuo_swiperDotSelectedfd1_0" >
            </view>
            <view :key="index" v-else
                class="flex dot unselected flex align-center justify-center huiyuanshenghuo_swiperDotUnselectedfd1_0" >
            </view>
        </template>
    </view>
</view>
</view>
        
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex benben-flex-layout flex-wrap align-center"    >
            <view   class='flex flex-direction flex-wrap align-center huiyuanshenghuo_fd2_0'      >
            <view   class='flex flex-wrap align-center huiyuanshenghuo_fd2_0_c0'      >
        <text class='fu-iconfont2  huiyuanshenghuo_fd2_0_c0_c0'  >&#xe7c6;</text>
<input    type="text" :placeholder="`搜索`" confirm-type="done" :maxlength="-1" placeholder-style="color:#999;font-size:28rpx"   />
</view>
</view>
</view>
        
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout huiyuanshenghuo_flex_3"    >
            <view   class='flex flex-wrap align-center justify-between huiyuanshenghuo_fd3_0'      >
            <template v-for = '(item,key0) in dataList'>
    <view   class='flex flex-direction flex-wrap align-stretch huiyuanshenghuo_fd3_0_c0'       :key='key0'>
            <view   class='flex flex-wrap align-center huiyuanshenghuo_fd3_0_c0_c0'      >
            <view   class='flex align-center self-center huiyuanshenghuo_fd3_0_c0_c0_c0'      >
        <image class='huiyuanshenghuo_fd3_0_c0_c0_c0_c0'  mode="aspectFit"  :src='STATIC_URL+"500.png"'></image>
<text class='huiyuanshenghuo_fd3_0_c0_c0_c0_c1'  >西安市</text>
</view>
<image class='huiyuanshenghuo_fd3_0_c0_c0_c1'  mode="aspectFit"  :src='STATIC_URL+"501.png"'></image>
<image class='huiyuanshenghuo_fd3_0_c0_c0_c2'  mode="aspectFill"  :src='item'></image>
</view>
    <view   class='huiyuanshenghuo_fd3_0_c0_c1'      >
        <text class='huiyuanshenghuo_fd3_0_c0_c1_c0'    v-if= " type=='1'"  >{{item.type_name}}</text><text class='huiyuanshenghuo_fd3_0_c0_c1_c0_1'    v-if= " type=='2'"  >线上</text>
<text class='huiyuanshenghuo_fd3_0_c0_c1_c1'  >{{item.describe}}</text>
</view>
    <view   class='flex flex-wrap align-center self-center justify-between huiyuanshenghuo_fd3_0_c0_c2'      >
            <view   class='flex flex-wrap align-center'      >
        <image class='huiyuanshenghuo_fd3_0_c0_c2_c0_c0'  mode="aspectFit"  :src='item.user_avatar'></image>
<text class='huiyuanshenghuo_fd3_0_c0_c2_c0_c1'  >{{item.user_nickname}}</text>
</view>
    <view   class='flex flex-wrap align-center self-center'      >
        <text class='fu-iconfont2  huiyuanshenghuo_fd3_0_c0_c2_c1_c0'  >&#xe684;</text>
<text class='huiyuanshenghuo_fd3_0_c0_c2_c1_c1'  >{{item.like_num}}</text>
</view>
</view>
</view>
    </template>
    <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
</view>
</view>
        
<!---flex布局flex布局结束-->
    
    
        </view>
    </view>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
import {validate} from '@/common/utils/validate.js'
    export default {
        components:{},
        mixins: [pagingList],
        
        data(){
			return {"bannerIndexfd1_0":0,"tabsInfofd0_1":{ lineleft: '', lineWidth: '', moveX: 0, scrollX: 0, PageScrollX: 0 },"tabsTypefd0_1":"","minixPagingListsApi":"","pageingListApiMethod":"","allowOnloadGetList":false,"type":"1","dataList":[],"bannerList":[]};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            this.getvh6577f930da388Func()
this.getja641e624160dd0Func()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //查询会员风采列表
                 getvh6577f930da388Func(){
                                    this.minixPagingListsApi = global.apiUrls.post6577f930da388;
                this.pageingListApiMethod = 'post';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {type:this.type}
                this.listData = [];
                this.dataList = this.listData;
                this.pagingListToggle();
                
                },
                //运营管理-获取轮播图
                async getja641e624160dd0Func(){
                        //请求方法
    //数据验证
    
  let databannerList = await this.$api.get(global.apiUrls.post641e624160dd0, {
    type:'5'
  });
  
  if (databannerList.data.code != 1) {
    this.$message.info(databannerList.data.msg);
    return
  } 
  let infobannerList = databannerList.data;
  this.bannerList = infobannerList.data
  
                },
                pagingListPostData(){
                    return this.pagingListPostDataContent
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:url(image-path('511.png')) no-repeat;background-size: 100% auto;
        }
    .huiyuanshenghuo_flex_0{
        background:url(image-path('511.png')) no-repeat;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .huiyuanshenghuo_linefd0_1{
        background:url(image-path('502.png')) no-repeat;width:100rpx;height:8rpx;top:60rpx;background-size:100% auto !important;
    }
    .checkTitlefd0_1{
        font-weight:700 !important;font-size:32rpx !important;color:#333 !important;
    }
    ::v-deep .huiyuanshenghuo_benbenTabsfd0_1{
        background:transparent;width:450rpx;height:88rpx;white-space:nowrap;text-align:center;
    }
    .huiyuanshenghuo_fd0_0_c0_c0{
        font-size:36rpx;color:#333;
    }
    .huiyuanshenghuo_fd0_0_c0{
        width:120rpx;
    }
    .huiyuanshenghuo_fd0_0{
        padding:0rpx 0rpx 0rpx 32rpx;
    }
    .huiyuanshenghuo_numberfd1_0_c0{
        background:#525050;position:absolute;bottom:20rpx;right:30rpx;width:80rpx;height:40rpx;border-radius:6rpx 6rpx 6rpx 6rpx;font-size:24rpx;color:#FFFFFF;line-height:46rpx;font-weight:400;
    }
    .huiyuanshenghuo_fd1_0_c1_c0_c0{
        width:702rpx;height:350rpx;border-radius:16rpx;
    }
    .huiyuanshenghuo_fd1_0_c1_c0{
        width:702rpx;height:350rpx;
    }
    .huiyuanshenghuo_fd1_0{
        width:702rpx;height:350rpx;margin:32rpx 24rpx 0rpx 24rpx;
    }
    .huiyuanshenghuo_swiperDotUnselectedfd1_0{
        border:1px solid rgba(0, 0, 0, 0.3);background:rgba(255, 255, 255, 0.6);width:12rpx;height:12rpx;border-radius:12rpx 12rpx 12rpx 12rpx;margin:0rpx 6rpx 0rpx 0rpx;font-size:24rpx;color:#fff;
    }
    .huiyuanshenghuo_swiperDotSelectedfd1_0{
        border:1px solid #00A7FF;background:#FFFFFF;width:26rpx;height:12rpx;border-radius:6rpx 6rpx 6rpx 6rpx;margin:0rpx 6rpx 0rpx 0rpx;font-size:24rpx;color:#fff;
    }
    ::v-deep .huiyuanshenghuo_swiperDotfd1_0{
        position:absolute;bottom:20rpx;left:0rpx;right:0rpx;
    }
    .huiyuanshenghuo_fd2_0_c0_c0{
        color:var(--benbenFontColor1);margin:0rpx 12rpx 0rpx 0rpx;
    }
    .huiyuanshenghuo_fd2_0_c0{
        border:1px solid #EEEEEE;background:#FFFFFF;border-radius:36rpx 36rpx 36rpx 36rpx;width:686rpx;height:72rpx;padding:0rpx 0rpx 0rpx 24rpx;
    }
    .huiyuanshenghuo_fd2_0{
        width:702rpx;margin:032rpx auto 24rpx auto;
    }
    .huiyuanshenghuo_flex_3{
        padding:0rpx 24rpx 0rpx 24rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c2_c1_c1{
        color:#333333;font-size:22rpx;font-weight:400;
    }
    .huiyuanshenghuo_fd3_0_c0_c2_c1_c0{
        font-size:22rpx;margin:0rpx 8rpx 0rpx 0rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c2_c0_c1{
        color:#333333;font-size:24rpx;font-weight:400;margin:0rpx 0rpx 0rpx 16rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c2_c0_c0{
        width:40rpx;height:40rpx;border-radius:100rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c2{
        padding:20rpx 12rpx 10rpx 12rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c1_c1{
        color:#333333;font-size:28rpx;font-weight:700;margin:0rpx 0rpx 0rpx 12rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c1_c0_1{
        border:0.5px solid rgba(235, 55, 55, 1);background:#FEEFEF;width:64rpx;height:32rpx;line-height:32rpx;background-size:100% auto;color:rgba(235, 55, 55, 1);font-size:22rpx;padding:5rpx 8rpx 5rpx 8rpx;border-radius:8rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c1_c0{
        border:0.5px solid rgba(34, 135, 236, 1);background:rgba(228, 240, 253, 1);width:64rpx;height:32rpx;line-height:32rpx;background-size:100% auto;color:var(--benbenFontColor4);font-size:22rpx;padding:5rpx 8rpx 5rpx 8rpx;border-radius:8rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c1{
        padding:8rpx 8rpx 0rpx 8rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c0_c2{
        width:344rpx;height:346rpx;border-radius:16rpx 16rpx 0rpx 0rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c0_c1{
        width:36rpx;height:36rpx;border-radius:0rpx;position:absolute;z-index:9;right:16rpx;top:16rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c0_c0_c1{
        color:#FFFFFF;font-size:22rpx;font-weight:400;
    }
    .huiyuanshenghuo_fd3_0_c0_c0_c0_c0{
        width:20rpx;height:24rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 8rpx 0rpx 0rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c0_c0{
        background:rgba(0,0,0,0.4);position:absolute;bottom:0rpx;z-index:9;border-radius:12rpx 12rpx 12rpx 0rpx;height:40rpx;padding:0rpx 10rpx 0rpx 10rpx;
    }
    .huiyuanshenghuo_fd3_0_c0_c0{
        position:relative;
    }
    .huiyuanshenghuo_fd3_0_c0{
        background:#FFFFFF;border-radius:16rpx 16rpx 16rpx 16rpx;margin:0rpx 0rpx 20rpx 0rpx;padding:0rpx 0rpx 12rpx 0rpx;box-shadow:0rpx 3rpx 30rpx #E8E8E8;width:344rpx;
    }
    .huiyuanshenghuo_fd3_0{
        margin:0rpx 0rpx 0rpx 0rpx;
    }
</style>